import React from "react";
import {Timeline} from "antd";

const MyTimeline: React.FC = () => {

  return (
    <Timeline
      items={[
        {
          color: 'green',
          children: '学习 2015-09-01',
        },
        {
          color: 'green',
          children: '内卷 2015-09-01',
        },
        {
          color: 'red',
          children: (
            <>
              <p>卷死你个王八犊子</p>
              <p>卷死你个狗东西</p>
              <p>活着就好了</p>
            </>
          ),
        },
        {
          children: (
            <>
              <p>活着 1</p>
              <p>活着 2</p>
              <p>活着 2015-09-01</p>
            </>
          ),
        },
        {
          color: 'gray',
          children: (
            <>
              <p>Technical testing 1</p>
              <p>Technical testing 2</p>
              <p>Technical testing 3 2015-09-01</p>
            </>
          ),
        },
      ]}
    />
  )
}

export default MyTimeline